]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Darken hovered message-media-control button
authorJoonas Henriksson <joonas.henriksson@gmail.com>
Sat, 23 Nov 2019 10:50:27 +0000 (12:50 +0200)
committerJoonas Henriksson <joonas.henriksson@gmail.com>
Mon, 25 Nov 2019 15:52:59 +0000 (15:52 +0000)
Increases contrast between normal and hovered states in
message-media-control buttons. Previously there was very little
difference between the two states, making it hard to distinguish
whether the mouse cursor was over the button.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/855

data/theme/gnome-shell-sass/_common.scss

index 563d32c97b115b0904d5944a00a8241ba51f0e6b..bddcedf2421ece5a6c6143acd8540dda8ce02f0b 100644 (file)
@@ -1158,7 +1158,7 @@ StScrollBar {
 
             &:last-child:ltr { padding-right: 18px; }
             &:last-child:rtl { padding-left: 18px; }
-            &:hover { color: $fg_color; }
+            &:hover { color: darken($fg_color, 10%) }
             &:insensitive { color: darken($fg_color,40%); }
           }